<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%--<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> --%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Create a Post Record</title>
    </head>
    <body>
        
    <h1>Create a Post record</h1>
    <form id="createPostForm" action="CreatePost" method="post">
    <table>
        <tr><td>Message : </td><td><input type="text" id = "tweet" name="tweet" /></td></tr>
        <tr><td>Mark as private : </td><td><input type="checkbox" id = "visible" name="visible" /></td></tr>
    </table>
    <input type="submit" id="CreateRecord" value="CreateRecord" />
    </form>
<a href="ListPost"><strong>Go to List of posts</strong></a>
    </body>
</html>